<script setup></script>

<template>
  <div class="common-layout">
    <el-container>
      <el-aside class="aside">
        <el-menu default-active="/" class="el-menu-demo" :ellipsis="false" router>
          <el-menu-item index="/">
            <el-icon><Picture /></el-icon>
            <span>图库</span>
          </el-menu-item>
        </el-menu>
      </el-aside>
      <el-main class="main">
        <router-view></router-view>
      </el-main>
    </el-container>
  </div>
</template>

<style lang="scss" scoped>
.aside {
  width: 200px;
  height: 100vh;
  background-color: #fff;
  border-right: 1px solid #e0e0e0;
}
</style>
